cssstyleproperty: Don't allow assigning min-width/min-height
authorBenjamin Otte <otte@redhat.com>
Thu, 21 Jan 2016 12:31:14 +0000 (13:31 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 22 Jan 2016 13:18:15 +0000 (14:18 +0100)
gtk/gtkcssstylepropertyimpl.c

index 1b99a78c2a928722b700f9eb35edd336a7663d2a..96166ae6376453d01a9e6276939618533642e229 100644 (file)
@@ -1644,7 +1644,7 @@ _gtk_css_style_property_init_properties (void)
                                           GTK_CSS_AFFECTS_SIZE,
                                           minmax_parse,
                                           query_length_as_int,
-                                          assign_length_from_int,
+                                          NULL,
                                           _gtk_css_number_value_new (0, GTK_CSS_PX));
   gtk_css_style_property_register        ("min-height",
                                           GTK_CSS_PROPERTY_MIN_HEIGHT,
@@ -1653,7 +1653,7 @@ _gtk_css_style_property_init_properties (void)
                                           GTK_CSS_AFFECTS_SIZE,
                                           minmax_parse,
                                           query_length_as_int,
-                                          assign_length_from_int,
+                                          NULL,
                                           _gtk_css_number_value_new (0, GTK_CSS_PX));
 
   gtk_css_style_property_register        ("transition-property",